package com.example.xss.config.serialize;

import com.example.xss.commom.enums.SensitiveTypeEnum;
import com.fasterxml.jackson.annotation.JacksonAnnotationsInside;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * 注解类
 * @date 2021-6-8
 * @author WANGJIET24
 */
@Retention(RetentionPolicy.RUNTIME)
@JacksonAnnotationsInside
@JsonSerialize(using = SensitiveSerialize.class)
public @interface Sensitive{

    SensitiveTypeEnum value();
}
